//
//  ZYVSModeSettingView.h
//  YiLin
//
//  Created by Zyark on 2018/6/6.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZYVSModeSettingView;
@protocol ZYVSModeSettingViewDelegate <NSObject>
@optional
/**
 风速改变
 @param vsModeSettingView 当前view
 @param speedType 风速模式
 @param modeType 当前模式类型
 */
-(void)vsModeSettingView:(ZYVSModeSettingView *)vsModeSettingView changeWindSpeedType:(ZYWindSpeedType)speedType modeType:(ZYVSModeType)modeType;

/**
 比例按钮点击
 @param vsModeSettingView 当前view
 @param button 当前按钮
 */
-(void)vsModeSettingView:(ZYVSModeSettingView *)vsModeSettingView doProportionClick:(UIButton *)button;

@end
@interface ZYVSModeSettingView : UIView
@property(nonatomic,weak) id<ZYVSModeSettingViewDelegate> delegate;

/**
 设置值
 @param values 值数组
 */
-(void)setValue:(NSArray *)values;
@end
